{% extends 'base.html'%}
{% block title %}首页的标题{% endblock %}
{% block headmessage %}
    <h3>本站文章列表</h3>
    <hr>
    <h1>bootstrap栅格</h1>
    <div class="container">
        <div class="row">
          <div class="col">
            1 of 2
          </div>
          <div class="col">
            2 of 2
          </div>
        </div>
        <div class="row">
          <div class="col">
            1 of 3
          </div>
          <div class="col">
            2 of 3
          </div>
          <div class="col">
            3 of 3
          </div>
        </div>
      </div>
<hr>
<img src="https://cdn.jsdelivr.net/gh/liangxinxin5102/image2/cartoon01/wallhaven-5dqz69.png">
{% endblock %}
{% block content %}
{% for post in posts %}
    <p>
        <a href="/post/{{post.slug}}">{{post.title}}</a>
    </p>
{% endfor %}
{% endblock %}

